﻿<%@ Page Title="" Language="C#" MasterPageFile="~/guest.Master" AutoEventWireup="true" CodeBehind="register.aspx.cs" Inherits="Royaumes_Libres.register2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cntHeader" runat="server">

</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="cntContentPage" runat="server">
    <asp:Label ID="lblUsername" Text="Username : " AssociatedControlID="txtUsername" runat="server"></asp:Label>
    <asp:TextBox ID="txtUsername" runat="server" validator="String"></asp:TextBox>
    <asp:Label ID="lblErrorUsername" Text="" runat="server"></asp:Label>
    <br />
    
    <asp:Label ID="lblPassword" Text="Password : " AssociatedControlID="txtPassword" runat="server"></asp:Label>
    <asp:TextBox ID="txtPassword" runat="server" TextMode="password" validator="Password"></asp:TextBox>
    <asp:Label ID="lblErrorPassword" Text="" runat="server"></asp:Label>
    <br />
    
    <asp:Label ID="lblPasswordAgain" Text="Password Confirmation : " AssociatedControlID="txtPasswordAgain" runat="server"></asp:Label>
    <asp:TextBox ID="txtPasswordAgain" runat="server" TextMode="password" validator="PasswordAgain"></asp:TextBox>
    <asp:Label ID="lblErrorPasswordAgain" Text="" runat="server"></asp:Label>
    <br />

    <asp:Label ID="lblEmail" Text="Email : " AssociatedControlID="txtEmail" runat="server"></asp:Label>
    <asp:TextBox ID="txtEmail" runat="server" validator="Email"></asp:TextBox>
    <asp:Label ID="lblErrorEmail" Text="" runat="server"></asp:Label>
    <br />
    
    <asp:Label ID="lblFirstName" Text="First Name : " AssociatedControlID="txtFirstName" runat="server"></asp:Label>
    <asp:TextBox ID="txtFirstName" runat="server" validator="String"></asp:TextBox>
    <asp:Label ID="lblErrorFirstName" Text="" runat="server"></asp:Label>
    <br />
    
    <asp:Label ID="lblLastName" Text="Last Name : " AssociatedControlID="txtLastName" runat="server"></asp:Label>
    <asp:TextBox ID="txtLastName" runat="server" validator="String"></asp:TextBox>
    <asp:Label ID="lblErrorLastName" Text="" runat="server"></asp:Label>
    <br />
    
    <asp:Label ID="lblBirth" Text="Date de naissance (AAAA/MM/JJ) : " AssociatedControlID="txtBirthY" runat="server"></asp:Label>
    <asp:TextBox ID="txtBirthY" runat="server" validator="Int"></asp:TextBox>
    <asp:TextBox ID="txtBirthM" runat="server" validator="Int"></asp:TextBox>
    <asp:TextBox ID="txtBirthD" runat="server" validator="Int"></asp:TextBox>
    <asp:Label ID="lblErrorAge" Text="" runat="server"></asp:Label>
    <br />

    <asp:Label ID="lblLang" Text="Language : " AssociatedControlID="cboLang" runat="server"></asp:Label>
    <asp:DropDownList ID="cboLang" runat="server" validator="Int">
    </asp:DropDownList>
    <br />
    
    <asp:Label ID="lblSex" Text="Sex : " AssociatedControlID="cboSex" runat="server"></asp:Label>
    <asp:DropDownList ID="cboSex" runat="server" validator="Int">
    </asp:DropDownList>
    <br />
    
    <asp:Label ID="lblCountry" Text="Country : " AssociatedControlID="cboCountry" runat="server"></asp:Label>
    <asp:DropDownList ID="cboCountry" runat="server" validator="Int" AutoPostBack="True" onselectedindexchanged="cboCountry_SelectedIndexChanged">
    </asp:DropDownList>
    <br />
    
    <asp:Label ID="lblState" Text="State : " AssociatedControlID="cboState" runat="server"></asp:Label>
    <asp:DropDownList ID="cboState" runat="server" validator="Int" AutoPostBack="True" onselectedindexchanged="cboState_SelectedIndexChanged">
    </asp:DropDownList>
    <br />
    
    <asp:Label ID="lblCity" Text="City : " AssociatedControlID="cboCity" runat="server"></asp:Label>
    <asp:DropDownList ID="cboCity" runat="server" validator="Int" AutoPostBack="True">
    </asp:DropDownList>
    <br />
    
    <asp:Button ID="btnRegister" runat="server" Text="Register" 
        onclick="btnRegister_Click" style="height: 26px" />
</asp:Content>